
package com.one.odf.model;

import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;


/**
 * <p>Java class for teamofteamscompositionType complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType name="teamofteamscompositionType"&gt;
 *   &lt;complexContent&gt;
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
 *       &lt;sequence&gt;
 *         &lt;element name="Description" type="{}competitorDescriptionType" minOccurs="0"/&gt;
 *         &lt;element name="ExtCompMedals" type="{}extCompMedalsType" minOccurs="0"/&gt;
 *         &lt;element name="EventUnitEntry" type="{}eventUnitEntryType" maxOccurs="unbounded" minOccurs="0"/&gt;
 *         &lt;element name="ExtendedResults" type="{}extendedResultsType" minOccurs="0"/&gt;
 *         &lt;element name="Composition" type="{}teamofteamsathleteType" minOccurs="0"/&gt;
 *         &lt;element name="RegisteredEvent" type="{}registeredEventType" minOccurs="0"/&gt;
 *       &lt;/sequence&gt;
 *       &lt;attribute name="Code" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
 *       &lt;attribute name="Number" type="{http://www.w3.org/2001/XMLSchema}int" /&gt;
 *       &lt;attribute name="Name" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
 *       &lt;attribute name="Gender" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
 *       &lt;attribute name="IFId" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
 *       &lt;attribute name="Order" type="{http://www.w3.org/2001/XMLSchema}int" /&gt;
 *       &lt;attribute name="Bib" type="{http://www.w3.org/2001/XMLSchema}string" default="" /&gt;
 *     &lt;/restriction&gt;
 *   &lt;/complexContent&gt;
 * &lt;/complexType&gt;
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "teamofteamscompositionType", propOrder = {
    "description",
    "extCompMedals",
    "eventUnitEntry",
    "extendedResults",
    "composition",
    "registeredEvent"
})
public class TeamofteamscompositionType {

    @XmlElement(name = "Description")
    protected CompetitorDescriptionType description;
    @XmlElement(name = "ExtCompMedals")
    protected ExtCompMedalsType extCompMedals;
    @XmlElement(name = "EventUnitEntry")
    protected List<EventUnitEntryType> eventUnitEntry;
    @XmlElement(name = "ExtendedResults")
    protected ExtendedResultsType extendedResults;
    @XmlElement(name = "Composition")
    protected TeamofteamsathleteType composition;
    @XmlElement(name = "RegisteredEvent")
    protected RegisteredEventType registeredEvent;
    @XmlAttribute(name = "Code", required = true)
    protected String code;
    @XmlAttribute(name = "Number")
    protected Integer number;
    @XmlAttribute(name = "Name")
    protected String name;
    @XmlAttribute(name = "Gender")
    protected String gender;
    @XmlAttribute(name = "IFId")
    protected String ifId;
    @XmlAttribute(name = "Order")
    protected Integer order;
    @XmlAttribute(name = "Bib")
    protected String bib;

    /**
     * Gets the value of the description property.
     * 
     * @return
     *     possible object is
     *     {@link CompetitorDescriptionType }
     *     
     */
    public CompetitorDescriptionType getDescription() {
        return description;
    }

    /**
     * Sets the value of the description property.
     * 
     * @param value
     *     allowed object is
     *     {@link CompetitorDescriptionType }
     *     
     */
    public void setDescription(CompetitorDescriptionType value) {
        this.description = value;
    }

    /**
     * Gets the value of the extCompMedals property.
     * 
     * @return
     *     possible object is
     *     {@link ExtCompMedalsType }
     *     
     */
    public ExtCompMedalsType getExtCompMedals() {
        return extCompMedals;
    }

    /**
     * Sets the value of the extCompMedals property.
     * 
     * @param value
     *     allowed object is
     *     {@link ExtCompMedalsType }
     *     
     */
    public void setExtCompMedals(ExtCompMedalsType value) {
        this.extCompMedals = value;
    }

    /**
     * Gets the value of the eventUnitEntry property.
     * 
     * <p>
     * This accessor method returns a reference to the live list,
     * not a snapshot. Therefore any modification you make to the
     * returned list will be present inside the JAXB object.
     * This is why there is not a <CODE>set</CODE> method for the eventUnitEntry property.
     * 
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getEventUnitEntry().add(newItem);
     * </pre>
     * 
     * 
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link EventUnitEntryType }
     * 
     * 
     */
    public List<EventUnitEntryType> getEventUnitEntry() {
        if (eventUnitEntry == null) {
            eventUnitEntry = new ArrayList<EventUnitEntryType>();
        }
        return this.eventUnitEntry;
    }

    /**
     * Gets the value of the extendedResults property.
     * 
     * @return
     *     possible object is
     *     {@link ExtendedResultsType }
     *     
     */
    public ExtendedResultsType getExtendedResults() {
        return extendedResults;
    }

    /**
     * Sets the value of the extendedResults property.
     * 
     * @param value
     *     allowed object is
     *     {@link ExtendedResultsType }
     *     
     */
    public void setExtendedResults(ExtendedResultsType value) {
        this.extendedResults = value;
    }

    /**
     * Gets the value of the composition property.
     * 
     * @return
     *     possible object is
     *     {@link TeamofteamsathleteType }
     *     
     */
    public TeamofteamsathleteType getComposition() {
        return composition;
    }

    /**
     * Sets the value of the composition property.
     * 
     * @param value
     *     allowed object is
     *     {@link TeamofteamsathleteType }
     *     
     */
    public void setComposition(TeamofteamsathleteType value) {
        this.composition = value;
    }

    /**
     * Gets the value of the registeredEvent property.
     * 
     * @return
     *     possible object is
     *     {@link RegisteredEventType }
     *     
     */
    public RegisteredEventType getRegisteredEvent() {
        return registeredEvent;
    }

    /**
     * Sets the value of the registeredEvent property.
     * 
     * @param value
     *     allowed object is
     *     {@link RegisteredEventType }
     *     
     */
    public void setRegisteredEvent(RegisteredEventType value) {
        this.registeredEvent = value;
    }

    /**
     * Gets the value of the code property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getCode() {
        return code;
    }

    /**
     * Sets the value of the code property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setCode(String value) {
        this.code = value;
    }

    /**
     * Gets the value of the number property.
     * 
     * @return
     *     possible object is
     *     {@link Integer }
     *     
     */
    public Integer getNumber() {
        return number;
    }

    /**
     * Sets the value of the number property.
     * 
     * @param value
     *     allowed object is
     *     {@link Integer }
     *     
     */
    public void setNumber(Integer value) {
        this.number = value;
    }

    /**
     * Gets the value of the name property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getName() {
        return name;
    }

    /**
     * Sets the value of the name property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setName(String value) {
        this.name = value;
    }

    /**
     * Gets the value of the gender property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getGender() {
        return gender;
    }

    /**
     * Sets the value of the gender property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setGender(String value) {
        this.gender = value;
    }

    /**
     * Gets the value of the ifId property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getIFId() {
        return ifId;
    }

    /**
     * Sets the value of the ifId property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setIFId(String value) {
        this.ifId = value;
    }

    /**
     * Gets the value of the order property.
     * 
     * @return
     *     possible object is
     *     {@link Integer }
     *     
     */
    public Integer getOrder() {
        return order;
    }

    /**
     * Sets the value of the order property.
     * 
     * @param value
     *     allowed object is
     *     {@link Integer }
     *     
     */
    public void setOrder(Integer value) {
        this.order = value;
    }

    /**
     * Gets the value of the bib property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getBib() {
        if (bib == null) {
            return "";
        } else {
            return bib;
        }
    }

    /**
     * Sets the value of the bib property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setBib(String value) {
        this.bib = value;
    }

}
